package com.blog.wu.myblog.shiro.stateless.token;

import org.apache.shiro.authc.AuthenticationToken;

/**
 * @author wuyanshen
 * @date 2019-01-11 3:54 PM
 * @discription 描述
 */
public class JwtToken implements AuthenticationToken {

    private String token;

    public JwtToken (String token) {
        this.token=token;
    }

    @Override
    public Object getPrincipal() {
        return token;
    }

    @Override
    public Object getCredentials() {
        return token;
    }
}
